package pl.edu.agh.inpema.core.dataBase.dbImplementation.model;

import java.util.HashSet;
import java.util.Set;

public class DbReceiver {

    private Integer id;
    private String name;
    private DbEnvironmentData environmentData;
    private Set dbReceiverProfiles = new HashSet();

    public DbReceiver() {
	
    }

    public DbReceiver(String name) {
	this.name = name;
    }

    public Integer getId() {
	return id;
    }

    private void setId(Integer id) {
	this.id = id;
    }

    public String getName() {
    return name;
    }

    public void setName(String name) {
	this.name = name;
    }

    /**
     * @return the versionData
     */
    public DbEnvironmentData getEnvironmentData() {
	return environmentData;
    }

    /**
     * @param versionData
     *                the versionData to set
     */
    public void setEnvironmentData(DbEnvironmentData environmentData) {
	this.environmentData = environmentData;
    }

    /**
     * @return the dbReceiverProfiles
     */
    public Set getDbReceiverProfiles() {
        return dbReceiverProfiles;
    }

    /**
     * @param dbReceiverProfiles the dbReceiverProfiles to set
     */
    public void setDbReceiverProfiles(Set dbReceiverProfiles) {
        this.dbReceiverProfiles = dbReceiverProfiles;
    }
}
